﻿<!DOCTYPE html>
<html>
<head>

    <title>@ViewBag.Title</title>

    @if (IsSectionDefined("MetaTag"))
    {
        @RenderSection("MetaTag")
    }
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />		
	<meta name="robots" content="INDEX,FOLLOW" />
    <meta name="language" content="Vietnamese,English" />
    <meta name="author" content="vngoodlife.com" />
    <meta name="owner" content="vngoodlife.com" />
    <meta name="placename" content="vietnam" />
    <meta http-equiv="Refresh" content="1800" />

    @*<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />*@
    <link href="http://fonts.googleapis.com/css?family=Arvo" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Layout.css")" rel="stylesheet" type="text/css" media="screen" />
    @*end site
    <link href="../../../Content/lightbox/overlay.css" rel="stylesheet" type="text/css" />*@
    @*end lightbox*@

    <link href="@Url.Content("~/Content/paging/style.css")" rel="stylesheet" type="text/css" />
    @*end paging*@

    
    @*<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>*@
    @*end silder news & photo galerry*@

    @*<script src="@Url.Content("../../../Content/ckeditor/ckeditor.js")" type="text/javascript"></script>*@

    
    <script src="@Url.Content("~/Scripts/jquery-1.5.1-vsdoc.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/vngoodlife.js")" type="text/javascript"></script>
    <script type="text/javascript">
       var _gaq = _gaq || [];
       _gaq.push(['_setAccount', 'UA-39026572-1']);
       _gaq.push(['_trackPageview']);

       (function () {
           var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       })();
    </script>
</head>

<body>
    <div id="wrapper">
        <div id="header-wrapper">
            <div id="header">
                <div id="logo">
                @Html.Partial("/Views/Shared/FrontEnd/LogoAdsHeader.cshtml")
                    @*end logo & ads*@
                </div>
            </div>
        </div>
        @* end #header *@
        <div id="menu">
             @Html.Action("FrontendMenuList", "MenuList")
        </div>
        @* end #menu *@
        <div id="page">
            <div id="page-bgtop">
                <div id="page-bgbtm">
                  <div id="content">
                     @RenderBody()
                  </div>
                  @* end #content *@
                  <div id="sidebar">
                    <script type="text/javascript">
                       (function () {
                           var cx = '014375659098812884246:_bisjfn3gxo';
                           var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
                           gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +'//www.google.com.vn/cse/cse.js?cx=' + cx;
                           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
                                           })();
                    </script>
                    <gcse:search></gcse:search>

                     <ul>
                        @*@Html.Partial("/Views/Shared/FrontEnd/LogOnUserControl.cshtml")*@
                        @*@Html.Partial("/Views/Shared/FrontEnd/_LogOnControl.cshtml")*@

                        @Html.Action("BuildLogOnControl", "Member")
                        @* end login*@

                        @Html.Partial("/Views/Shared/FrontEnd/Ads.cshtml")
                        @* end #adshome*@

                        
                        @if (IsSectionDefined("ExtraArticlecontrol"))
                        { 
                            <li id="ExtraArticlecontrol">
                            @RenderSection("ExtraArticlecontrol")
                            </li>
                        }

                        @if (IsSectionDefined("controlAds"))
                        { 
                            <li id="controlAds">
                            @RenderSection("controlAds")
                            </li>
                        }
                       
                        @Html.Partial("/Views/Shared/FrontEnd/FacebookFanBox.cshtml")
                        @* end #facebook_fanbox*@

                        @* @Html.Partial("/Views/Shared/FrontEnd/PhotoVideo.cshtml")*@
                        @* end #gallery_video *@

                        @*@Html.Partial("/Views/Shared/FrontEnd/StoryFunny.cshtml")*@
                        @Html.Action("GetFunnyArticle", "Article")
                        @* end # funny story*@
                        <div style="width:200px; height:20px;"></div>
                        @Html.Action("GetArticle", "Article", new{flag = "3"})
                        @* end # random story*@
                    </ul>
                 </div>
                @* end #sidebar *@
                <div style="clear: both;"> &nbsp;</div>
                </div>
            </div>
        </div>
        @* end #page *@
    </div>
    <div id="footer">
       @Html.Partial("/Views/Shared/FrontEnd/Footer.cshtml")
    </div>
   @*end #footer *@
</body>
</html>

